#ifndef DEBUG_LOG_H
#define DEBUG_LOG_H

#include <stdio.h>
#ifdef WIN32
#include <iostream>
using namespace std;
#endif


class DebugLog
{
private:

	static DebugLog* m_instance;
	FILE *pFile;

	std::string prev_msg;
	int counter;

public:
	DebugLog(void);
	~DebugLog(void);

	static DebugLog* getInstance();

	void log(std::string msg);
};

#endif